<h1>Listing equivalent_grades</h1>

<table>
  <tr>
    <th>Grade</th>
    <th>Equivalent to</th>
  </tr>

<% @equivalent_grades.each do |equivalent_grade| %>
  <tr>
    <td><%=h equivalent_grade.grade %></td>
    <td><%=h equivalent_grade.equivalent_to_id %></td>
    <td><%= link_to 'Show', equivalent_grade %></td>
    <td><%= link_to 'Edit', edit_equivalent_grade_path(equivalent_grade) %></td>
    <td><%= link_to 'Destroy', equivalent_grade, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New equivalent_grade', new_equivalent_grade_path %>